package data
{
	public class DegreeType
	{
		[Bindable]	public static var MAJOR:String = 'Major';
		[Bindable]	public static var MINOR:String = 'Minor';
		[Bindable]	public static var CERTIFICATE:String = 'Certificate';
		
		public static function toType(type:String):String
		{
			switch(type.toLowerCase())
			{
				case MAJOR.toLowerCase(): return MAJOR;
				case MINOR.toLowerCase(): return MINOR;
				case CERTIFICATE.toLowerCase(): return CERTIFICATE;
			}
			return "";
		}
	}
}